]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ShellContactSystem: fix GSList of utf8 leak
authorPavel Vasin <rat4vier@gmail.com>
Wed, 13 Jun 2012 16:51:57 +0000 (20:51 +0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 15 Jun 2012 05:05:08 +0000 (01:05 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=678079

src/shell-contact-system.c

index 4f5af7065ae686921c5b6b46d02aa85da22668da..8f0002168d144d87a6994570cfd409933b016648 100644 (file)
@@ -464,6 +464,7 @@ shell_contact_system_initial_search (ShellContactSystem *self,
     }
 
   g_object_unref (iter);
+  g_slist_free_full (normalized_terms, (GDestroyNotify) g_free);
 
   return sort_and_prepare_results (results);
 }